<template>
    <div id="argainListTitle">
        <!-- 砍价列表页面 -->

        
        
        <argainListTitle title='砍价列表'></argainListTitle>
        <!-- 导入每个商品 -->
         <wgyoneli :list='list'></wgyoneli>
    </div>
</template>

<script>
import {getPut,getGoodsList} from '../../utils/api/Home'
import wgyoneli from '@/components/wgy-oneLi/wgy-oneLi'
import argainListTitle from '@/components/home/argainList/argainListTitle'
export default {
    data() {
        return {
            list:[]
        };
    },
    created() {
       
         // 获取全民砍价共4个
        getGoodsList().then(res => {
            // console.log(res.data.splice(9,4));
            this.list = res.data.splice(9,4)
        })
    },
    methods: {

    },
    //组件挂载
    components: {
        argainListTitle,
        wgyoneli
    },
    //计算属性
    computed: {},
    //过滤器
    filters: {},
};
</script>

<style lang="scss" scoped>
#argainListTitle{
    background-color: #fff;
}
</style>
